AUTOMAKE_OPTIONS = gnu

# it's weird, but we want this to go into DVN's bin directory
dvnmodulesdir = $(prefix)/modules
dvnmodules_LTLIBRARIES = kademlia.la
kademlia_la_SOURCES = \
	snri_module.c snri_module.h kad_module.c
kademlia_la_LDFLAGS = -module -no-undefined
kademlia_la_LIBADD = $(top_builddir)/src/libkad/libkad.la

# force link to with C++ since libkad.la has lots of it
nodist_EXTRA_kademlia_la_SOURCES = dummy.cpp
INCLUDES = -I$(top_builddir)/src/libkad
